package com.luotao.test2;

/**
 * User: luotao
 * Date: 12-6-21
 * Time: 15:17
 */
public class ChannelState {

    public ChannelState() {
        m_buffer = new StringBuffer();
        m_start = false;
        m_startTime = System.currentTimeMillis();
    }

    public boolean isStart() {
        return m_start;
    }

    public void setStart(boolean start) {
        this.m_start = start;
    }

    public long getStartTime() {
        return m_startTime;
    }

    public void setStartTime(long startTime) {
        this.m_startTime = startTime;
    }

    public StringBuffer getBuffer() {
        return m_buffer;
    }

    public void setBuffer(StringBuffer buffer) {
        this.m_buffer = buffer;
    }

    private StringBuffer m_buffer;
    private boolean m_start;
    private long m_startTime;
}
